package jsr292.java.lang.invoke;

public class ConstantCallSite extends CallSite {
    public ConstantCallSite(MethodHandle target) {
        super(target);  
    }
  
    @Override
    public final MethodHandle getTarget() {
        return super.getTarget();
    }
    
    @Override
    public final void setTarget(MethodHandle target) {
        throw new UnsupportedOperationException();
    }
    
    @Override
    public final MethodHandle dynamicInvoker() {
        return super.getTarget();
    }
}
